package cn.congzhou.crm.mapper;

import cn.congzhou.crm.domain.SystemDictionaryItem;
import cn.congzhou.crm.query.QueryObject;

import java.util.List;

public interface SystemDictionaryItemMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);

    List<SystemDictionaryItem> selectByPage(QueryObject qo);

    List<SystemDictionaryItem> selectAllJobs();

    List<SystemDictionaryItem> selectAllSources();

    List<SystemDictionaryItem> selectAllTypes();

    SystemDictionaryItem selectByName(String curriculumStr);

    List<SystemDictionaryItem> selectAllCurriculum(String curriculum);
}